﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<!DOCTYPE html>

<html lang="es-ar">
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Agregar</title>
</head>
<body>
    @if (ViewBag.Error == true)
    {
        <div class="alert alert-danger" role="alert">Algunos de los campos ingresados son incorrectos</div>
    }
    <label style="padding-top:2em">
        <div class="panel panel-default" >
            <div class="panel-heading">AGREGAR TOQUE</div>
            <div class="panel-body">
                <form method="post" action="@Url.Action("Agregar", "toque")">
                    <label>
                        <label style="padding-top:0.8em">Codigo de empresa</label>
                        <input type="text" required="required" class="form-control" placeholder="Codigo de Empresa" name="codigoEmpresa">

                        <label style="padding-top:0.8em">Codigo de localidad</label>
                        <input type="text" required="required" class="form-control" placeholder="Codigo de Localidad" name="codigoLocalidad">

                        <label style="padding-top:0.8em">Numero de darsena</label>
                        <input type="number" min="1" max="10" class="form-control" name="numeroDarsena">

                        <label style="padding-top:0.8em">Interno del micro</label>
                        <input type="text" required="required" class="form-control" placeholder="Interno de micro" name="internoMicro">
                        <div style="padding-top:0.8em">
                        <button type="submit" class="btn btn-default">Agregar</button>
                        </div>
                    </label>
                </form>
            </div>
    </label>
</body>
</html>
